#include <stdio.h>

void func(int* p1)
{
    *p1 = 199;
}

int main()
{
    int a = 10;
    int* p = &a;
    func(p);
    printf("%d\n", a);
    return 0;
}